diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-07-22 11:07:53 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-07-22 11:08:22 +0100 |
| commit | fec2b177288643b258fa65bb4b660f080a53e960 (patch) | |
| tree | a8378baacaf1d0dcb38d94effc4a08bf9c2cdb3b /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | f525339cdcab1a44d370ffe619d46bdc2116c3b5 (diff) | |
Add Patio code gen for push-string
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 17 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..914e150d --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenPushStringTests]/[method:pushStringIsCompiledToDataAndIndexToData(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,17 @@ +Compilation unit elements: + +(data-immutable "shed__string__0" (struct ((int 5) (array ((byte 0x68) (byte 0x65) (byte 0x6c) (byte 0x6c) (byte 0x6f)))))) + +Locals: + * ("string__0" int) + +Args: + +Instructions: + +( + (data-ptr-to-int (local "string__0") (data-ptr "shed__string__0")) +) + +Temporary stack: + * string__0 |
